import CrudExpression from "./CrudExpression";

/** 表达式接口 */
interface Expression extends CrudExpression {
    type: "where" | "limit" | "abs" | "prefix" | "native" | "table";

    /** 获取当前实例中的sql */
    toLocaSql(): string;

    /** 全部关联实例组合sql */
    toSql(completion?: boolean): string;
}

export = Expression;
